#@head() 
#@header()
#@aside("user")
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <div class="col-md-12">
          <!-- Horizontal Form -->
          <div class="box box-info">
            <div class="box-header with-border">
              <h3 class="box-title">修改个人信息</h3>
            </div>
            <form class="form-horizontal" method="post" action="#(path)/user/edit" enctype="multipart/form-data">
              <div class="box-body">
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">所属用户组</label>
					<div class="col-sm-10">
						<select disabled class="form-control">
							<option value="0"   #if(user.level??==0)selected#end>禁止</option>
							<option value="10" #if(user.level??==10)selected#end>普通</option>
							<option value="30" #if(user.level??==30)selected#end>中级</option>
							<option value="50" #if(user.level??==50)selected#end>高级</option>
						</select>
					</div>
				</div>
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">我的头像</label>
					<div class="col-sm-10">
						<input type="file" name="avatar" id="avatar" class="form-control" />
					</div>
				</div>
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">我的姓名</label>
					<div class="col-sm-10">
						<input name="realname" id="realname" class="form-control"  value="#(user.realname)" placeholder="请输入真实姓名..."/>
					</div>
				</div>
				<div class="form-group">
					<label for="inputPassword3" class="col-sm-2 control-label">手机号码</label>
					<div class="col-sm-10">
						<input type="text" id="phone" name="phone" class="form-control" value="#(user.phone)" placeholder="请输入手机号码..." />
					</div>
				</div>
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">所属部门</label>
					<div class="col-sm-10">
						<select  name="department" id="department" class="form-control">
							<option value="客服部" #if(user.department??=="客服部")selected#end>客服部</option>
							<option value="技术部" #if(user.department??=="技术部")selected#end>技术部</option>
							<option value="人事部" #if(user.department??=="人事部")selected#end>人事部</option>
							<option value="财务部" #if(user.department??=="财务部")selected#end>财务部</option>
						</select>
					</div>
				</div>
              </div>
              <!-- /.box-body -->
				<div class="box-footer">
					<button type="submit" class="btn btn-info center-block">写好了</button>
            	</div>
              <!-- /.box-footer -->
            </form>
          </div>
          <!-- /.box -->
        </div>
        <!--/.col (right) -->
      </div>
      <!-- /.row -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
	#@footer()
</body>
</html>